<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>MapBoxProvider | geo-three</title>
	<meta name="description" content="Documentation for geo-three">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">geo-three</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">geo-three</a>
				</li>
				<li>
					<a href="../modules/providers_MapBoxProvider.html">providers/MapBoxProvider</a>
				</li>
				<li>
					<a href="providers_MapBoxProvider.MapBoxProvider.html">MapBoxProvider</a>
				</li>
			</ul>
			<h1>Class MapBoxProvider</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel tsd-comment">
				<div class="tsd-comment tsd-typography">
					<div class="lead">
						<p>Map box service tile provider. Map tiles can be fetched from style or from a map id.</p>
					</div>
					<p>API Reference</p>
					<ul>
						<li><a href="https://www.mapbox.com/">https://www.mapbox.com/</a></li>
					</ul>
				</div>
			</section>
			<section class="tsd-panel tsd-hierarchy">
				<h3>Hierarchy</h3>
				<ul class="tsd-hierarchy">
					<li>
						<a href="providers_MapProvider.MapProvider.html" class="tsd-signature-type" data-tsd-kind="Class">MapProvider</a>
						<ul class="tsd-hierarchy">
							<li>
								<span class="target">MapBoxProvider</span>
							</li>
						</ul>
					</li>
				</ul>
			</section>
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Constructors</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="providers_MapBoxProvider.MapBoxProvider.html#constructor" class="tsd-kind-icon">constructor</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Properties</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#apiToken" class="tsd-kind-icon">api<wbr>Token</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="providers_MapBoxProvider.MapBoxProvider.html#bounds" class="tsd-kind-icon">bounds</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="providers_MapBoxProvider.MapBoxProvider.html#center" class="tsd-kind-icon">center</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#format" class="tsd-kind-icon">format</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#mapId" class="tsd-kind-icon">map<wbr>Id</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="providers_MapBoxProvider.MapBoxProvider.html#maxZoom" class="tsd-kind-icon">max<wbr>Zoom</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="providers_MapBoxProvider.MapBoxProvider.html#minZoom" class="tsd-kind-icon">min<wbr>Zoom</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#mode" class="tsd-kind-icon">mode</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="providers_MapBoxProvider.MapBoxProvider.html#name" class="tsd-kind-icon">name</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#style" class="tsd-kind-icon">style</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#useHDPI" class="tsd-kind-icon">useHDPI</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class"><a href="providers_MapBoxProvider.MapBoxProvider.html#version" class="tsd-kind-icon">version</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="providers_MapBoxProvider.MapBoxProvider.html#ADDRESS" class="tsd-kind-icon">ADDRESS</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="providers_MapBoxProvider.MapBoxProvider.html#MAP_ID" class="tsd-kind-icon">MAP_<wbr>ID</a></li>
								<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="providers_MapBoxProvider.MapBoxProvider.html#STYLE" class="tsd-kind-icon">STYLE</a></li>
							</ul>
						</section>
						<section class="tsd-index-section ">
							<h3>Methods</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="providers_MapBoxProvider.MapBoxProvider.html#fetchTile" class="tsd-kind-icon">fetch<wbr>Tile</a></li>
								<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="providers_MapBoxProvider.MapBoxProvider.html#getMetaData" class="tsd-kind-icon">get<wbr>Meta<wbr>Data</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Constructors</h2>
				<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
					<a name="constructor" class="tsd-anchor"></a>
					<h3>constructor</h3>
					<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">new <wbr>Map<wbr>Box<wbr>Provider<span class="tsd-signature-symbol">(</span>apiToken<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, id<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, mode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, format<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, useHDPI<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, version<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="providers_MapBoxProvider.MapBoxProvider.html" class="tsd-signature-type" data-tsd-kind="Class">MapBoxProvider</a></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#constructor">constructor</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L98">source/providers/MapBoxProvider.ts:98</a></li>
								</ul>
							</aside>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>apiToken: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;&#x27;</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Map box api token.</p>
										</div>
									</div>
								</li>
								<li>
									<h5>id: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;&#x27;</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Map style or map ID if the mode is set to MAP_ID.</p>
										</div>
									</div>
								</li>
								<li>
									<h5>mode: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Map tile access mode.</p>
										</div>
									</div>
								</li>
								<li>
									<h5>format: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;png&#x27;</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>Image format.</p>
										</div>
									</div>
								</li>
								<li>
									<h5>useHDPI: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
									<div class="tsd-comment tsd-typography">
										<div class="lead">
											<p>If true uses high DPI mode.</p>
										</div>
									</div>
								</li>
								<li>
									<h5>version: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;v4&#x27;</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <a href="providers_MapBoxProvider.MapBoxProvider.html" class="tsd-signature-type" data-tsd-kind="Class">MapBoxProvider</a></h4>
						</li>
					</ul>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Properties</h2>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="apiToken" class="tsd-anchor"></a>
					<h3>api<wbr>Token</h3>
					<div class="tsd-signature tsd-kind-icon">api<wbr>Token<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L28">source/providers/MapBoxProvider.ts:28</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Server API access token.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="bounds" class="tsd-anchor"></a>
					<h3>bounds</h3>
					<div class="tsd-signature tsd-kind-icon">bounds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#bounds">bounds</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapProvider.ts#L30">source/providers/MapProvider.ts:30</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map bounds.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="center" class="tsd-anchor"></a>
					<h3>center</h3>
					<div class="tsd-signature tsd-kind-icon">center<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#center">center</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapProvider.ts#L35">source/providers/MapProvider.ts:35</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map center point.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="format" class="tsd-anchor"></a>
					<h3>format</h3>
					<div class="tsd-signature tsd-kind-icon">format<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L42">source/providers/MapBoxProvider.ts:42</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map image tile format, the formats available are:</p>
							<ul>
								<li>png True color PNG</li>
								<li>png32 32 color indexed PNG</li>
								<li>png64 64 color indexed PNG</li>
								<li>png128 128 color indexed PNG</li>
								<li>png256 256 color indexed PNG</li>
								<li>jpg70 70% quality JPG</li>
								<li>jpg80 80% quality JPG</li>
								<li>jpg90 90% quality JPG</li>
								<li>pngraw Raw png (no interpolation)</li>
							</ul>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="mapId" class="tsd-anchor"></a>
					<h3>map<wbr>Id</h3>
					<div class="tsd-signature tsd-kind-icon">map<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L66">source/providers/MapBoxProvider.ts:66</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map identifier composed of {username}.{style}</p>
						</div>
						<p>Some examples of the public mapbox identifiers:</p>
						<ul>
							<li>mapbox.mapbox-streets-v7</li>
							<li>mapbox.satellite</li>
							<li>mapbox.mapbox-terrain-v2</li>
							<li>mapbox.mapbox-traffic-v1</li>
							<li>mapbox.terrain-rgb</li>
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="maxZoom" class="tsd-anchor"></a>
					<h3>max<wbr>Zoom</h3>
					<div class="tsd-signature tsd-kind-icon">max<wbr>Zoom<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 20</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#maxZoom">maxZoom</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapProvider.ts#L25">source/providers/MapProvider.ts:25</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Maximum tile level.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="minZoom" class="tsd-anchor"></a>
					<h3>min<wbr>Zoom</h3>
					<div class="tsd-signature tsd-kind-icon">min<wbr>Zoom<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#minZoom">minZoom</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapProvider.ts#L20">source/providers/MapProvider.ts:20</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Minimum tile level.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="mode" class="tsd-anchor"></a>
					<h3>mode</h3>
					<div class="tsd-signature tsd-kind-icon">mode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L54">source/providers/MapBoxProvider.ts:54</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map tile access mode</p>
							<ul>
								<li>MapBoxProvider.STYLE</li>
								<li>MapBoxProvider.MAP_ID</li>
							</ul>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
					<a name="name" class="tsd-anchor"></a>
					<h3>name</h3>
					<div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;&#x27;</span></div>
					<aside class="tsd-sources">
						<p>Inherited from <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#name">name</a></p>
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapProvider.ts#L15">source/providers/MapProvider.ts:15</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Name of the map provider</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="style" class="tsd-anchor"></a>
					<h3>style</h3>
					<div class="tsd-signature tsd-kind-icon">style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L83">source/providers/MapBoxProvider.ts:83</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Map style to be used composed of {username}/{style_id}</p>
						</div>
						<p>Some example of the syles available:</p>
						<ul>
							<li>mapbox/streets-v10</li>
							<li>mapbox/outdoors-v10</li>
							<li>mapbox/light-v9</li>
							<li>mapbox/dark-v9</li>
							<li>mapbox/satellite-v9</li>
							<li>mapbox/satellite-streets-v10</li>
							<li>mapbox/navigation-preview-day-v4</li>
							<li>mapbox/navigation-preview-night-v4</li>
							<li>mapbox/navigation-guidance-day-v4</li>
							<li>mapbox/navigation-guidance-night-v4</li>
						</ul>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="useHDPI" class="tsd-anchor"></a>
					<h3>useHDPI</h3>
					<div class="tsd-signature tsd-kind-icon">useHDPI<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L47">source/providers/MapBoxProvider.ts:47</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Flag to indicate if should use high resolution tiles</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
					<a name="version" class="tsd-anchor"></a>
					<h3>version</h3>
					<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L89">source/providers/MapBoxProvider.ts:89</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Mapbox api version</p>
							<ul>
								<li>mapbox/navigation-guidance-night-v4</li>
							</ul>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="ADDRESS" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> ADDRESS</h3>
					<div class="tsd-signature tsd-kind-icon">ADDRESS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &#x27;https://api.mapbox.com/&#x27;</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L13">source/providers/MapBoxProvider.ts:13</a></li>
						</ul>
					</aside>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="MAP_ID" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> MAP_<wbr>ID</h3>
					<div class="tsd-signature tsd-kind-icon">MAP_<wbr>ID<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 101</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L23">source/providers/MapBoxProvider.ts:23</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Access the map data using a map id.</p>
						</div>
					</div>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static">
					<a name="STYLE" class="tsd-anchor"></a>
					<h3><span class="tsd-flag ts-flagStatic">Static</span> STYLE</h3>
					<div class="tsd-signature tsd-kind-icon">STYLE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 100</span></div>
					<aside class="tsd-sources">
						<ul>
							<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L18">source/providers/MapBoxProvider.ts:18</a></li>
						</ul>
					</aside>
					<div class="tsd-comment tsd-typography">
						<div class="lead">
							<p>Access the map data using a map style.</p>
						</div>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Methods</h2>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="fetchTile" class="tsd-anchor"></a>
					<h3>fetch<wbr>Tile</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">fetch<wbr>Tile<span class="tsd-signature-symbol">(</span>zoom<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#fetchTile">fetchTile</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L127">source/providers/MapBoxProvider.ts:127</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Get a tile for the x, y, zoom based on the provider configuration.</p>
								</div>
								<p>The tile should be returned as a image object, compatible with canvas context 2D drawImage() and with webgl texImage2D() method.</p>
							</div>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>zoom: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>x: <span class="tsd-signature-type">number</span></h5>
								</li>
								<li>
									<h5>y: <span class="tsd-signature-type">number</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
					<a name="getMetaData" class="tsd-anchor"></a>
					<h3>get<wbr>Meta<wbr>Data</h3>
					<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
						<li class="tsd-signature tsd-kind-icon">get<wbr>Meta<wbr>Data<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<p>Overrides <a href="providers_MapProvider.MapProvider.html">MapProvider</a>.<a href="providers_MapProvider.MapProvider.html#getMetaData">getMetaData</a></p>
								<ul>
									<li>Defined in <a href="https://github.com/tentone/geo-three/blob/bbd604d/source/providers/MapBoxProvider.ts#L111">source/providers/MapBoxProvider.ts:111</a></li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<div class="lead">
									<p>Get map meta data from server if supported.</p>
								</div>
								<p>Usually map server have API method to retrieve TileJSON metadata.</p>
							</div>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Modules</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="../modules/providers_MapBoxProvider.html">providers/<wbr>Map<wbr>Box<wbr>Provider</a>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
				</ul>
				<ul class="current">
					<li class="current tsd-kind-class tsd-parent-kind-module">
						<a href="providers_MapBoxProvider.MapBoxProvider.html" class="tsd-kind-icon">Map<wbr>Box<wbr>Provider</a>
						<ul>
							<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#constructor" class="tsd-kind-icon">constructor</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#apiToken" class="tsd-kind-icon">api<wbr>Token</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#bounds" class="tsd-kind-icon">bounds</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#center" class="tsd-kind-icon">center</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#format" class="tsd-kind-icon">format</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#mapId" class="tsd-kind-icon">map<wbr>Id</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#maxZoom" class="tsd-kind-icon">max<wbr>Zoom</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#minZoom" class="tsd-kind-icon">min<wbr>Zoom</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#mode" class="tsd-kind-icon">mode</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#name" class="tsd-kind-icon">name</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#style" class="tsd-kind-icon">style</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#useHDPI" class="tsd-kind-icon">useHDPI</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#version" class="tsd-kind-icon">version</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#ADDRESS" class="tsd-kind-icon">ADDRESS</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#MAP_ID" class="tsd-kind-icon">MAP_<wbr>ID</a>
							</li>
							<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-static">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#STYLE" class="tsd-kind-icon">STYLE</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#fetchTile" class="tsd-kind-icon">fetch<wbr>Tile</a>
							</li>
							<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
								<a href="providers_MapBoxProvider.MapBoxProvider.html#getMetaData" class="tsd-kind-icon">get<wbr>Meta<wbr>Data</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="after-current">
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
				<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
				<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
				<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
				<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
			</ul>
			<ul class="tsd-legend">
				<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>